package com.txts.road.app.event.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 赛事活动视图对象
 *
 * @author baoyr
 * @since 2025-07-17 10:47
 */
@Getter
@Setter
@Schema( description = "赛事活动视图对象")
public class EventVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "赛事ID")
    private Long id;
    @Schema(description = "赛事名称")
    private String eventName;
    @Schema(description = "赛事类型：1-精选，2-普通")
    private Integer eventType;
    @Schema(description = "赛事描述")
    private String description;
    @Schema(description = "封面图片")
    private String coverImage;
    @Schema(description = "开始时间")
    private LocalDateTime startTime;
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
    @Schema(description = "报名开始时间")
    private LocalDateTime registrationStart;
    @Schema(description = "报名结束时间")
    private LocalDateTime registrationEnd;
    @Schema(description = "最大参与人数")
    private Integer maxParticipants;
    @Schema(description = "当前参与人数")
    private Integer currentParticipants;
    @Schema(description = "状态：1-报名中，2-进行中，3-已结束，4-已取消")
    private Integer status;
    @Schema(description = "主办方")
    private String organizer;
    @Schema(description = "活动地点")
    private String location;
    @Schema(description = "路线数据")
    private String routeData;

}
